﻿using System;
using System.Collections.Generic;
using System.Linq;

namespace MartinRL.ProjectEuler
{
    /// <summary>
    /// http://projecteuler.net/index.php?section=problems&id=20
    /// </summary>
    public static class Problem020
    {
        public static uint FindTheSumOfTheDigitsIn100Faculty()
        {
            return 100.BigFactorial()
                .ToString()
                .ToByteSequence()
                .Sum();
        }
    }
}